package com.liveneo.adapter.mobile.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.liveneo.adapter.base.entity.PrpmBank;
import com.liveneo.adapter.base.entity.PrpmDictDetail;
import com.liveneo.adapter.base.mapper.PrpmBankMapper;
import com.liveneo.adapter.base.mapper.PrpmDictDetailMapper;
import com.liveneo.adapter.mobile.service.BankService;

/**
 * @Title：BankServiceImpl
 * @Desc：所属银行service实现类
 * @address: http://www.liveneo.com.cn/
 * @author: zhaoyy
 * @date: 2016年9月29日 上午9:45:16
 * @version: 1.0 
 */
@Service
public class BankServiceImpl implements BankService {
    @Autowired
    private PrpmBankMapper bankMapper;
    @Autowired
    private PrpmDictDetailMapper dictDetailMapper;
    
    @Override
    public List<PrpmBank> selectBank() {
        return bankMapper.selectBank();
    }

    @Override
    public List<PrpmBank> selectBankCodeByBankName(String bankName) {
        return bankMapper.selectBankCodeByBankName(bankName);
    }

	@Override
	public List<PrpmDictDetail> selectByPrimaryDtCode(PrpmDictDetail dictDetail) {
		return dictDetailMapper.selectByPrimaryDtCode(dictDetail);
	}
    
}
